package com.tnovoselec.android.travelassistant.dto;

import java.util.ArrayList;
import java.util.List;

public class GasPricesResultHolder {

	private static List<GasPriceDto> RESULT = new ArrayList<GasPriceDto>();

	private GasPricesResultHolder() {
		super();
	}

	public static void init(List<GasPriceDto> items) {
		GasPricesResultHolder.clear();
		RESULT.addAll(items);
	}

	public static void clear() {
		GasPricesResultHolder.RESULT.clear();
	}

	public static List<GasPriceDto> getAll() {
		return RESULT;
	}

}
